package com.demo.dao;

import java.util.List;

import com.demo.entity.Secretary;
import com.demo.vo.SecretaryVo;

public interface ISecretaryDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Secretary record);

    int insertSelective(Secretary record);

    Secretary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Secretary record);

    int updateByPrimaryKey(Secretary record);
    
    List<Secretary> queryByPage(SecretaryVo user);
    int queryCount(SecretaryVo user);

}